Cochran was born in Sadsbury, Pennsylvania, the son of Irish immigrants.
On April 10, 1777, Cochran was made Physician & Surgeon General of the Middle Department of the Medical Department of the Continental Army.