The central area of the city is pedestrianised but there is ample parking within walking distance of all the shops and there is a multistorey in Kingsgate centre which is slightly more expensive but does get you out the rain. Parking in the Council car parks is limited to 3 hours in the short stay but is great value at only £2. Walmer Drive is long stay but will need to get back with the current charges. I should also add that any tickets bought towards the end of the day will roll onto the next one so a 3 hour ticket bought at 5pm on a Friday will be valid until 10 am on Saturday. All council car parks are free on Sundays.
There are also some park and ride facilities -
Leys Park - free bus link to bus station from this central parking area with access of Townhill Road
Ferrytoll - regular buses into town but some do take a long detours so ask before boarding
Halbeath - due to open in Autumn 2013 - http://www.dunfermlinepress.com/news/roundup/articles/2013/03/19/450720-10m-park-and-choose-hub-making-great
Stagecoach and Scotrail have recently announced additional late night services from Edinburgh during the Festival which should make the area a more attractive place for people to base themselves due to the cheaper hotel accomodation.
Last bus from Edinburgh is now 0025
Last train from Waverley to Dunfermline is now 2359 on a Friday only although there is a Dundee service that you can get on Fri & Sat to Inverkeithing at 2352. A taxi from there into Dunfermline comes in around £10.
In common with the excellent facilities offered at Edinburgh and Glasgow bus stations, Dunfermline now has a scaled down version built in the city centre. The station has some lockers, a cafe, news stand and toilets.
Stagecoach operate most local bus services which have a D prefix (D79, D92, etc). Interecity buses have an X Prefix.
Ferrytoll Park and Ride also acts as a transport hub where you can connect to a wider variety of services but this may well change later this year to the new Halbeath Park and Choose (your only choice is parking your car and getting a bus despite the Fife Circle train line running past the site!) which is opening to accommodate the new Queensferry bridge infrastructure.
Should you wish to avoid taking your car to Edinburgh because of expensive and often hard to find parking spaces you can drive out of Dunfermline to Ferrytoll Park and Ride which is located just off the motorway before the Forth Bridge. The car park is free, cctv, and many buses pass by here on the way to Edinburgh Centre, which is convenient because if you are fit most of the attractions such as the Castle, Royal Mile, Museums, Princess Gardens are walkable. Only the Botanical Gardens lie in the other direction but easy to catch a bus.
There are 2 stations in Dunfermline and most people will use the Dunfermline Town station. This has a manned ticket office and small shop on the North platform with a waiting room on the South platform. There are car parks on both sides (cycle lockers are available but use your own padlocks) and a pedestrian subway from the North side into the city centre which is about a 5 minute walk.
The other station is Dunfermline Queen Margaret which has little to do with the sainted Queen other than it's proximity to hospital named after her. Apart from that, the surrounding area is residential with not a lot on offer for the visiting tourist.
Both stations are on the Fife Circle which is quite a romantic sounding name but this also has a drinking game attached to it with groups of people attempting to have a drink at every one of the 12 stops before making it back to your original departure point. Also beware that the train may be running the wrong way round the circle for you which could see a 30 minute trip to Edinburgh extend out to 90 minutes so check the timetable carefully.
We came to Dunfermline by car following the A90 from Aberdeen to Perth on the dual carriageway speed limit on this road is sixty miles per hour. We then joined - or in this case tried to join the M90 motorway to Edinburgh via the slip road. Lanes were closed and traffic crawled ahead as queues formed on the two merging lanes speed limits are raised on motorways to 70 but in our case a crawl. If Dunfermline is your destination - leave the M90 at Halbeath exit left. The bus station in Dunfermline is currently under construction telephone 0870 608 2608 if you need bus times & destinations most buses leave from East Port Street at the present time. There are also two train stations - St. Margaret's at Comley Bank (local trains) & Town Street (Edinburgh main line). Edinburgh is about 30 minutes away by road a bit quicker by rail.
Travelers beware!! The bus station at Dunfermline has been demolished. The powers at be are constructing a new one which will take a couple of years to build along with a new shopping centre that will join on to the existing one which comes from the High Street. The town centre is in dissaray at the moment (for cars and buses) but on foot its not a problem. Theres lots to see ..Dunfermline Abbey (where Robert the Bruce is buried) Abbot House, along with numerous historic sights. Dunfermline is an ideal place to come to to stay away from the tourist prices of Edinburgh but only 8 Miles away by bus or train. Good nightlife, plenty pubs and clubs. Recomend "THE OLD INN" in the Maygate for a great pint.
Dunfermline can be reached from most places.
A good network of roads leads you easily to it.The M90 is the main motorway but its well signposted.
A good train system will bring you to Dunfermline station and its only a short walk in to town.
From Edinburgh you can catch a 55 bus and that will bring you to the town centre.