Dobbie's form at Dumbarton was noticed by Scottish First Division club Queen of the South, who signed him permanently from St Johnstone on 5 January 2007. Dobbie debuted the following day in a 1–1 draw at Dundee in the third round of the 2006–07 Scottish Cup at Dens Park. In the replay, a 3–3 draw at Palmerston ten days later, Dobbie scored his first two goals for the Dumfries club. Queens went on to win the tie 4–2 on penalties. After scoring another brace in a 4–3 home league win over Partick Thistle on 27 January 2007, Dobbie scored once again in the 2–0 fourth round win over Cowdenbeath in the Scottish Cup. Dobbie then grabbed a third brace on 17 February 2007 in a 3–0 win over Airdrie United at the Excelsior Stadium. Dobbie then played in the quarter final of the Scottish Cup as Queens were defeated 2–1 by his former club Hibernian. Dobbie scored 12 goals in 21 appearances that season.