Goram signed for Dumfries club Queen of the South in July 2002,[27] where he won the Scottish Challenge Cup. This made Goram the first player to collect a full set of winner's medals from the four Scottish football competitions.[2][29][30][31] A four-game return to Oldham Athletic followed, and he retired at the end of the 2003–04 season after a season-long spell at Elgin City, where he played five league games.[32]