The kepi is one of the most globally distributed military hat designs in history -- it was adopted by armies on six continents, worn by soldiers in conflicts from the American Civil War to 20th-century colonial wars, and remains in active ceremonial military use today. Its visual simplicity -- a cylindrical body, a flat or slightly domed top, and a short visor -- made it easy to manufacture at scale, easy to identify at distance, and easy to adapt with badges and colours for unit distinction. The kepi succeeded everywhere it appeared because it solved the practical hat problems of mass military deployment better than any alternative available in the 19th century.
What a Kepi Is
A kepi (from French képi, itself from Alsatian German Käppi) is a military cap with a short cylindrical or slightly tapered body, a flat or gently rounded top, and a short horizontal visor projecting forward. The top of the kepi may be flat (as in most French military versions) or slightly domed (as in the American Civil War version). The body may be straight-sided or slightly flared at the top. The visor is typically small -- 4-6 cm -- and is the most functional element, providing limited but real sun protection for the eyes.
The kepi is typically distinguished from the peaked cap (another military cap form with a taller body and longer visor) by its lower profile and shorter visor. The kepi sits lower on the head, closer to the head's profile, and has less visor projection.

French Origins and Foreign Legion
The kepi was adopted by the French army in the 1840s as a practical replacement for the taller, heavier shako, which had proven cumbersome in colonial campaigns in North Africa. The new Algerian campaigns required a lighter, more practical hat that could be manufactured at scale, worn in heat, and adapted quickly with unit-specific colours and badges. The kepi fulfilled all these requirements.
The French Foreign Legion adopted the white kepi that became one of the most iconic military hat images in the world. The white kepi cover (a cloth cover worn over the standard kepi) was initially a practical measure to reduce heat absorption in North Africa; it became the symbol of the Legion itself. Foreign Legion recruits earn the right to wear the white kepi at the end of basic training -- it is not issued automatically but conferred, which makes it a meaningful symbol within the institution.
American Civil War Adoption
Both Union and Confederate armies in the American Civil War (1861-1865) adopted kepi-style caps derived from the French model. The American version was typically slightly taller and with a slightly fuller crown than the French original. The distinctive dark blue kepi of Union infantry soldiers became one of the defining visual elements of the war, appearing in photographs and subsequent period depictions as the universal shorthand for a Union soldier.
After the Civil War, the kepi gradually gave way to the campaign hat (the broad-brimmed felt hat) in American military use, but it remained associated with Civil War reenactment and commemorative culture and continues to be produced for this market.
Global Spread and Adaptation
The kepi's simplicity made it ideal for adoption by armies with limited hat manufacturing capacity. Through the 19th and early 20th centuries, the kepi (or close variants) was adopted by armies across Latin America, Africa, Asia, and the Middle East -- often through military training programs or arms supply relationships with France or other European powers. Each adoption typically involved colour and badge adaptations while retaining the basic form.
The kepi remains in active ceremonial use in France, where it is the standard uniform cap of many French army units, and in various other countries with military traditions derived from French influence. The French gendarmerie, police, and fire services all use kepi variants as part of their dress uniforms.
The Kepi in Contemporary Civilian Context
The kepi has had periodic fashion adoptions -- the hat's clean geometric silhouette and its military associations have made it a recurring element in fashion collections and in uniform-influenced casual wear. The French military kepi silhouette, in particular, has been adapted as a fashion hat in soft fabrics (cotton, denim, felt) that retain the circular top and short visor without the military construction rigidity.
Explore the full history of military-influenced headwear and classic structured hats at Hatloom.

Frequently Asked Questions
Is a kepi the same as a peaked cap?
Related but distinct. A peaked cap (also called a service cap or garrison cap) is typically taller than a kepi, has a longer visor, and often has a wire or stiffening structure that makes the crown project more dramatically. The kepi is lower-profile, with a shorter visor and a less structured crown. Both are cylindrical military cap forms with visors, but they differ in proportions and the degree of structure. The kepi is the earlier and simpler form; the peaked cap developed as military dress became more elaborate in the late 19th and early 20th centuries.
Why did the French Foreign Legion adopt the white kepi specifically?
The white cover originated as a practical heat management measure in the North African desert. A white surface reflects more solar radiation than a dark one, reducing heat absorption in direct sun. The practice of covering the kepi with a white cloth or canvas started in the early North African campaigns and became standardised. When the white kepi became associated with the Legion's distinctive identity and reputation, it was retained as a symbol even as the Legion operated in other environments where the heat justification was less relevant. The white kepi is now an identity symbol that precedes and supersedes its functional origin.
What happened to the kepi in military use?
The kepi was displaced in most armies by the end of World War I by softer, more practical caps (the M1917 helmet for combat) and by peaked caps for dress occasions. The decline of the kepi corresponded to the general militarisation of warfare -- in the field conditions of industrial warfare, the kepi provided no ballistic protection and was rapidly replaced by steel helmets. For dress and ceremonial contexts, the more formal peaked cap displaced the kepi in most armies that had previously worn the smaller form. France is the major exception, where the kepi has remained in continuous ceremonial use across many branches of the French military and civil services.





