Carey was commissioned into the Cape Mounted Rifles in 1845 and served in the Cape Frontier Wars as few years later. Having served with distinction in the Cape Mounted Rifles, of which he became major, he was military secretary to Sir James Jackson, when commanding the forces at the Cape, and was ultimately colonel of the 18th Irish.