# Military ranks of Mexico

The military ranks of Mexico are the military insignia used by the Mexican Armed Forces. Mexico shares a rank structure similar to that of Spain.

## Ranks
### Commissioned officer ranks

The rank insignia of commissioned officers.
| Rank group | General / flag officers | General / flag officers | General / flag officers | General / flag officers | General / flag officers | General / flag officers | General / flag officers | General / flag officers | Senior officers | Senior officers | Senior officers | Senior officers | Senior officers | Senior officers | Junior officers | Junior officers | Junior officers | Junior officers | Junior officers | Junior officers | Junior officers | Junior officers |
| Mexican Army vte | | | | | | | | | | | | | | | | | | | | | | |
| Mexican Army vte | Secretario de la defensa nacional | Secretario de la defensa nacional | General de división | General de división | General de brigada | General de brigada | General brigadier | General brigadier | Coronel | Coronel | Teniente coronel | Teniente coronel | Mayor | Mayor | Capitan primero | Capitán segundo | Teniente | Teniente | Teniente | Subteniente | Subteniente | Subteniente |
| Mexican Navy vte | | | | | | | | | | | | | | | | | | | | | | |
| Mexican Navy vte | Secretario de Marina | Secretario de Marina | Almirante | Almirante | Vicealmirante | Vicealmirante | Contraalmirante | Contraalmirante | Capitán de navío | Capitán de navío | Capitán de fragata | Capitán de fragata | Capitán de corbeta | Capitán de corbeta | Teniente de navio | Teniente de fragata | Teniente de corbeta | Teniente de corbeta | Teniente de corbeta | Guardiamarina | Guardiamarina | Guardiamarina |
| Mexican Air Force vte | | | | | | | | | | | | | | | | | | | | | | |
| Mexican Air Force vte | | | General de división | General de división | General de ala | General de ala | General de grupo | General de grupo | Coronel | Coronel | Teniente coronel | Teniente coronel | Mayor | Mayor | Capitan primero | Capitán segundo | Teniente | Teniente | Teniente | Subteniente | Subteniente | Subteniente |
| Mexican National Guard vte | | | | | | | | | | | | | | | | | | | | | | |
| Mexican National Guard vte | | | Comisario General | Comisario General | Comisario Jefe | Comisario Jefe | Comisario | Comisario | Inspector General | Inspector General | Inspector Jefe | Inspector Jefe | Inspector | Inspector | Subinspector Primero | Subinspector Segundo | Oficial | Oficial | Oficial | Suboficial | Suboficial | Suboficial |

### Student officer ranks

| Rank group | Student officer | Student officer | Student officer |
| Mexican Army | | | |
| Mexican Army | Sargento 1º de cadetes | Sargento 2º de cadetes | Cabo de cadetes |
| Mexican Navy | | | |
| Mexican Navy | Sargento 1º de cadetes | Sargento 2º de cadetes | Cabo de cadetes |
| Mexican Air Force | | | |
| Mexican Air Force | Sargento 1º de cadetes | Sargento 2º de cadetes | Cabo de cadetes |

### Other ranks

The rank insignia of non-commissioned officers and enlisted personnel.
| Rank group | Senior NCOs | Senior NCOs | Senior NCOs | Senior NCOs | Senior NCOs | Senior NCOs | Senior NCOs | Senior NCOs | Junior NCOs | Junior NCOs | Enlisted | Enlisted |
| Mexican Army vte | | | | | | | | | | | | |
| Mexican Army vte | Sargento primero | Sargento primero | Sargento segundo | Sargento segundo | Sargento segundo | Sargento segundo | Sargento segundo | Sargento segundo | Cabo | Cabo | Soldado | Soldado |
| Mexican Navy vte | | | | | | | | | | | | |
| Mexican Navy vte | Segundo maestre | Segundo maestre | Tercer maestre | Tercer maestre | Tercer maestre | Tercer maestre | Tercer maestre | Tercer maestre | Cabo | Cabo | Marinero | Marinero |
| Mexican Air Force vte | | | | | | | | | | | | |
| Mexican Air Force vte | Sargento primero | Sargento primero | Sargento segundo | Sargento segundo | Sargento segundo | Sargento segundo | Sargento segundo | Sargento segundo | Cabo | Cabo | Soldado | Soldado |
| Mexican National Guard vte | | | | | | | | | | | | |
| Mexican National Guard vte | Agente Mayor | Agente Mayor | Agente | Agente | Agente | Agente | Agente | Agente | Subagente | Subagente | Guardia Nacional | Guardia Nacional |

## Branch colors

Rank badges have a band of colour indicating branch:
| Colour | Colour | Branch/service |
| | Gold | General officers |
| | Light brown | General staff; Presidential Guards Corps, Presidential High Command |
| | Purple | Army aviation (includes the Air Force); Parachutist Fusiliers |
| | Red | Infantry |
| | Crimson red | Artillery |
| | Red-brown | Quartermaster Command (Spanish: Materiales de Guerra) |
| | Light orange-brown | Transportation |
| | Green | Judicial Corps (Spanish: Justicia); military police |
| | cobalt blue | Engineers; signals and communications (Spanish: transmisiones) |
| | Light blue | Cavalry, Veterinarians |
| | Sky Blue | Cartography |
| | Gray | Military bands and drummers and buglers |
| | Light gray | armored |
| | Brownish gray | Service corps (Spanish: administracion e intendencia) |
| | Yellow | Medical |
| Source: |||