President James Knox Polk appointed Hopkins as Chargé d'affaires to Portugal in 1847; he served as until 1849. He returned to the House of Delegates as Speaker succeeding his brother Henry L. Hopkins from 1850 to 1852 and was a member of the Virginia Constitutional Convention in 1850 and 1851. He served as judge of the circuit court of Washington, D.C. and other counties and was elected back to the House of Representatives in 1856, serving again from 1857 to 1859. There, he served as chairman of the Committee on Foreign Affairs from 1857 to 1859. He was not a candidate for reelection in 1858 and resumed practicing law in Abingdon, Virginia.
Hopkins served in the House of Delegates for a third time from 1859 until his death in Richmond, Virginia on March 1, 1861. He was interred in Sinking Spring Cemetery in Abingdon.
Jamerson, Bruce F., Clerk of the House of Delegates, supervising (2007). Speakers and Clerks of the Virginia House of Delegates, 1776-2007. Richmond, Virginia: Virginia House of Delegates.{{cite book}}: CS1 maint: multiple names: authors list (link)