Earl Gregg Swem (December 29, 1870 – April 14, 1965) was an American historian, bibliographer and librarian. Swem worked at the Library of Congress and Virginia State Library, and for more than two decades was primary librarian at the College of William & Mary, where the Earl Gregg Swem Library (in construction during his final years) was named in his honor.