The Scotland Office has been occupied by the same anti-cuts protesters who chased Scottish Labour leader Iain Gray out of Glasgow's Central Station.
Citizens United Against Public Sector Cuts, including spokesman Sean Clerkin, carried banners calling for public services to be saved.
Police were called to the protest in Edinburgh and security was heightened at the Scotland Office.
The campaigners were persuaded to leave the building after about 50 minutes.
BBC Scotland political correspondent Raymond Buchanan said that as one protester left the Scotland Office he turned to police and said: "Hope you didn't miss your break cause of us son."
During the Scottish election campaign, Scottish Labour was forced to cancel an event at Glasgow's Central Station after it was hijacked by the same group.
The protesters followed the Labour leader and his entourage out of the station and into a nearby Subway sandwich shop.
The campaign also targeted leaders of other main parties.