This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)(Learn how and when to remove this template message)
Subedar (Urdu: صوبیدار) is a historical rank in the Indian Army and Pakistan Army, ranking below British commissioned officers and above non-commissioned officers. The rank was otherwise equivalent to a British captain.
A subedar was senior to a jemadar and junior to a subedar-major in the infantry regiments of the Indian Army under British rule. The cavalry equivalent was risaldar. Both jemadars and risaldars wore two stars as rank insignia. 
The rank was introduced in the East India Company's presidency armies (the Bengal Army, the Madras Army and the Bombay Army) to make it easier for British officers to communicate with native troops. It was thus important for subedars to have some competence in English. In an order dated November 1755 the structure of an infantry company in the HEIC's newly raised infantry regiments provided for one subedar, four jemadars, 16 NCOs and 90 sepoys (private soldiers). This was to remain the approximate proportion until the number of British junior officers in a regiment increased later in the 18th century. 
Until 1866, the rank was the highest a non-European Indian could achieve in the army of British India. A subedar's authority was confined to other Indian troops, and he could not command British troops. Promoted from the ranks and usually advanced through seniority based on long service, the typical subedar of this period was a relatively elderly veteran with limited English whose regimental experience was not matched by formal education or training.
After independence, which came in 1947 with the Partition of India, the former Indian Army was divided between India and Pakistan. In the Pakistan Army, the rank has been retained, but the ribbon is now red-green-red. After Bangladesh separated from Pakistan, the Bangladesh Army also retained the rank, changing the ribbon colours to red-purple-red, but in Bangladesh the title of subedar was changed in 1999 to senior warrant officer.
Until 1858, subedars wore two epaulettes with small bullion fringes on each shoulder. After 1858, they wore two crossed golden swords, or, in the Gurkha regiments, two crossed golden kukris, on each side of the collar of the tunic or on the right breast of the kurta. After 1900, subedars wore two pips on each shoulder. A red-yellow-red ribbon was introduced under each pip after World War I. After World War II, this ribbon was moved to lie between the shoulder title and the rank insignia (two brass stars on both shoulders).
- Blackburn, Terence R. A Miscellany of Mutinies and Massacres in India p. 11
- Creese, Michael. Swords Trembling in Their Scabbards. The Changing Status of Indian Officers in the Indian Army 1757-1947. p. xiii. ISBN 9-781909-982819.
- Creese, Michael. Swords Trembling in Their Scabbards. The Changing Status of Indian Officers in the Indian Army 1757-1947. p. 26. ISBN 9-781909-982819.
- Creese, Michael. Swords Trembling in Their Scabbards. The Changing Status of Indian Officers in the Indian Army 1757-1947. p. 28. ISBN 9-781909-982819.
- www.Bharat-Rakshak.com/Army/Ranks.html - Illustration of various military insignias including three subedar insignia designs.