What time should I leave St Andrews for a domestic flight at Edinburgh airport

Starfish Taxis recommends leaving St Andrews minimum 2 hours and 30 minutes before a domestic flight departure. The journey takes approximately 1 hour and 10 minutes, which should leave you 1 hour 20 minutes to check in your luggage and get through security. At peak traffic times please leave yourself 15 minutes extra.

St Andrews town centre to Edinburgh airport:
Journey time 1h10min by car.
Journey time by Bus – Train – Tram 2h10min.