The Independent Companies of New Mexico Militia were units of infantry raised within the New Mexico Territory to serve a three-month term of service for the Union Army during the American Civil War, from November 1861 to February 1862.
They were organized for use within the territory, in defense against Indian attacks and invasion by the Texas Rangers.
Organized in November and December 1861 for the defenses of New Mexico, the four companies were raised and financially supported by Lt Col Francisco Perea.
Under the command of Gaspar Ortiz y Alarid, it was organized in Santa Fe, New Mexico on 10 December 1861, and served until its mustering out on 28 February 1862.
It was reorganized as Company A of the 1st Regiment New Mexico Volunteer Militia Infantry, where it served another three months.