Ninian Edwards was born in 1775 to the prominent Edwards family in Montgomery County, Maryland. His mother, Margaret Beall Edwards, was from another prominent local family. His father Benjamin Edwards served in the Maryland House of Delegates, in Maryland's state ratifying convention for the U.S. Constitution, and in the United States House of Representatives, filling a vacant seat for two months. Ninian was educated by private tutors, one of whom was the future U.S. Attorney General William Wirt. He attended Dickinson College from 1790 to 1792 but did not graduate, leaving college to study law. His son Ninian Wirt Edwards wrote later that Edwards spent some of his time at Dickinson reading medicine, a field to which he devoted considerable time in his later years.