June in Dunfermline averages a daily high of 17.7°C with nights around 10.1°C. Expect roughly 13.4 wet days totalling 65.4mm. Generally workable, with some weather to plan around.
Across the year, the best time to visit Dunfermline is June–September.