Frederick was born at Schwerin, the son of Christian Ludwig II, Duke of Mecklenburg, and his wife, Duchess Gustave Caroline of Mecklenburg-Strelitz.
In his childhood and youth his great-aunt Duchess Augusta of Mecklenburg-Schwerin had great influence on the intellectual and spiritual development of Frederick, essentially in instilling the beliefs of Pietism.