The town was historically known as Mercatino Marecchia. It is first recorded in 950 AD as the parish of San Pietro in cult (on cultivated land).[3]
As a medieval market town, Mercantino Marecchia was an open meeting place, without town walls, similar to Mercantino Conca. Its position by the Marecchia river, at the meeting point of roads to San Leo, Talamello, and Sant'Agata Feltria, facilitated its function in the local economy. The market fairs were traditionally held in August.[3]
In the early sixteenth century, the Counts of Segni from Bologna built a villa in Mercatino Marecchia, which is the present-day municipal hall.[3]
The comune of Mercantino Marecchia was created on 24 March 1907 from hamlets detached from Talamello.[3]
In 1922, the town became the terminus of the Rimini–Mercatino Marecchia railway, which operated until its replacement with a bus route in 1960.[3][4] The railway's construction was mainly motivated by the transport of sulphur from the mines of Perticara [it] to Rimini.[4][5] Sulphur was transported to the station from Perticara along a cableway,[3][6] which measured 6 kilometres (3.7 miles) in length and was built in 1922. The line also transported gypsum mined in Secchiano,[6] which, along with Ponte Santa Maria Maddalena, had intermediate stops on the railway. Novafeltria's railway station is still extant, and its locomotive shed is now used by replacement buses. The station included a water tank. Secchiano's railway station is also still extant, and is currently residential property.[7]
In 1941, the town was renamed as Novafeltria.[3][4]
On 17 and 18 December 2006, voters in Novafeltria voted to detach from the province of Pesaro and Urbino, in the Marche, to join the province of Rimini, in Emilia-Romagna. Of 6,239 eligible voters, 4,275 voters (68.5%) voted. There were 3,480 votes (82.2%) to join Rimini, and 756 votes (17.8%) to stay in Pesaro and Urbino. Novafeltria was transferred to the province of Rimini on 15 August 2009.[3]