 During the Civil War, McRuer was a member of the United States Sanitary Commission.He was elected as a Republican to the 39th United States Congress (1865–1867), but did not run for reelection.McRuer traveled in Europe for two years, then
returned to San Francisco.