Robert Magaw (1738–1790) was a lawyer from Carlisle, Pennsylvania who served as a colonel in the Continental Army during the American Revolutionary War.
Robert was born in Philadelphia, PA, in 1738. (His parents, William and Elizabeth Magaw, had earlier migrated from Strabane, County Tyrone, Ireland, to the eastern shore of Maryland.) He later settled in Carlisle, PA, and practiced law there. His brother was the Rev. Samuel Magaw. Robert Magaw served several years in the militia, and when the war broke out he was made a colonel in command of the 5th Pennsylvania Battalion.
During the New York campaign he was in command of the American garrison at Fort Washington. He was forced to surrender it, and became a prisoner on November 16, 1776. Based on his parole he was set at liberty in New York City, but could not leave the city until he was exchanged. This did not happen until October 1780.
While a prisoner on parole, Magaw met and courted Marritje Van Brunt (1762–1803) of Kings County, New York. They married in April 1779, and would later have two children. After he was exchanged, he returned home to New Carlisle and continued his law practice. He served two years in the Pennsylvania House of Representatives (1781–1782) and was for many years a trustee of Dickinson College. He died at home in Carlisle on January 7, 1790. After his death, Marritje returned to New York to live with their son, Robert Van Brunt Magaw, at Gravesend.