The easiest way to get to San Marino is by car. There are several big car parking areas in San Marino city. Alternatively, you can leave your car in the town of Borgo Maggiore, from where you can take a cable car to Cita San Marino. Renting a car in Italy isn`t expensive and driving outside of big cities is generally easy.
If you are traveling in Italy by public transport, the best way to get to San Marino is by taking a bus from Rimini. There are no trains going to San Marino. The closest station is found at Rimini, just 10 miles from the heart of the republic.
Once you arrive in San Marino, you`ll notice that the nation is small, so there are only a limited number of public transportation options. There is a limited bus network operating in San Marino. However, the buses in the republic run between San Marino City and Rimini. There are more than half a dozen runs per day, and the return journey generally takes anywhere between 40 and 50 minutes. Buses stop at some 20 different destinations in San Marino and near Rimini, so tourists can use this option for getting around parts of the republic. Also, there are aerial tramways and gondola cable cars that connect the upper conurbations of San Marino to the lower urban areas.
Once you`re inside the walled city, it`s small enough to simply walk around. There are only a few streets on which cars are able to drive (and only if they are small cars). Be warned that almost every street in San Marino is part of a steep hill.
A good way to see more of San Marino (beyond the historic center) is to take a tourist train. It brings you to the places you wouldn`t see otherwise, coupled with audio guide that gives you more information about the country and the sights along the way.
The train runs between San Marino city and Borgo Maggiore (bottom station of San Marino cable car). The one-way journey lasts just 40 minutes and you can take the cable car the other way.
Taxis in San Marino are available and reliable. There are more than half a dozen taxi companies operating inside San Marino. Taxis are not that expensive, generally because they never travel far enough to clock up expensive fares. It is easy to hail a taxi off the street, but your hotel can also call one for you.