In 1702, at the age of 23, Trotter published her first major philosophical work, A Defence of Mr. Lock's [sic.]
In 1708, she married Reverend Patrick Cockburn, and all but ceased to write until 1726, when she began another philosophical treatise.