If you want to drive yourself, the nearest airports are Basel-Mulhouse and Zurich. Car rental is available at both airports.
From Basel-Mulhouse airport, take the A35 towards Mulhouse, then follow the signs for Cernay / Thann, the drive to Thann takes half an hour.
You will find taxis at all the airports and also in front of Mulhouse train station. If you are traveling with your bike, it is best to book a taxi before you arrive to ensure a large taxi is available for you.
Check prices and schedules at sncf.com/fr
Stops: Thann - Gare or Thann - Center. Bikes and luggage are free on the train.
From Paris CDG airport, take the express train to Strasbourg, then change trains to Mulhouse.
From Basel-Mulhouse airport, there are shuttles (2.50 €) from the airport to Saint Louis train / bus station where you can get to Mulhouse and connect to Thann.
Mulhouse is the closest large city to Thann. If you travel by train from international airports CDG, FRA or ZRH, consider ending your train journey in Mulhouse if your accommodation in Thann is not in the historic center or in case of a long connection time in Mulhouse to Thann. The taxi trip is about 15 minutes.