The Pennsylvania gubernatorial election of 1848 occurred on November 7 1848. Incumbent Whig governor William F. Johnston who became governor following the resignation and subsequent death of Francis R. Shunk in July 1848 defeated Democratic candidate Morris Longstreth to win a full term.