Freedom of Information figures show there are 2773 people on the local authority allotment waiting list in Edinburgh, each with a predicted wait of four to nine years.
The number of residents waiting for a council allotment in Aberdeen is 279. They will have to hold on for between one and three years for a plot, rising to between four and seven years for some, the party said.
In Dundee, 340 people are on the waiting list for a local authority allotment.
The figures were disclosed in response to freedom of information requests by Green MSP Alison Johnstone to local authorities covering Scotland's seven cities.
Glasgow City Council said it does not have its own waiting lists and Highland Council did not respond to the request, the party said.
Perth and Kinross Council said it did not have any allotments and Stirling Council has only one site, which has no waiting list.
Ms Johnstone, MSP for Lothian and food spokeswoman for the Greens, also highlighted official statistics showing almost a third (30.9%) of Scotland's population lived within 500 metres of a derelict site last year.