San Marino in the Eurovision Song Contest

San Marino has participated in the Eurovision Song Contest 14 times, debuting in the 2008 contest, followed by participation from 2011 onward. It did not participate in 2009 or 2010, with its national broadcaster Radiotelevisione della Repubblica di San Marino (SMRTV) citing financial difficulties as the reason for its withdrawal. Having failed to qualify in their first four attempts, the nation qualified for the contest's final for the first time in 2014. Valentina Monetta represented San Marino in, , and 2014, making her the first entrant to participate in three consecutive contests since the 1960s. In, Serhat managed to qualify to the final, marking the second appearance of the country in a Eurovision final and achieving their best result to date of 19th place. Following the cancellation due to the COVID-19 pandemic in Europe, their 2020 candidate Senhit was again selected to represent San Marino in the following contest. She qualified to the final, making it the first time that San Marino made it to two consecutive finals.

SMRTV has largely chosen to select their entrant internally, though on five occasions they used national finals: 1in360 for 2018, Digital Battle for 2020, and Una voce per San Marino since 2022. Unlike other participating countries, San Marino does not organise a televote due to their use of Italy's phone network, and because the small number of potential televoters would not meet the minimum voting threshold set by the European Broadcasting Union (EBU).

Contest history
Participation in the Eurovision Song Contest is open to members of the European Broadcasting Union (EBU), of which Radiotelevisione della Repubblica di San Marino (SMRTV) is a member since 1995. On 11 November 2007, an email from an SMRTV representative to the OGAE Italy stated that they were considering entering the Eurovision Song Contest for the first time in, pending approval by their board members. A decision would have to be made by 15 November, the deadline for interested broadcasters to submit an application for participation in the 2008 contest. At the time, half of the financing of SMRTV was by Radiotelevisione Italiana (RAI), the broadcaster of, which had last participated in 1997; the two entities also shared board members. Despite this, SMRTV received approval to take part and officially announced their participation on 21 November 2007. SMRTV Head of Delegation Alessandro Capicchioni stated that San Marino's motivation for entering the contest was to promote tourism and to bring attention to the nation, as "[a] lot of the world knows neither where San Marino is or if it even exists". For their first Eurovision appearance, SMRTV sought to host an internal selection process, choosing Miodio with the Italian language song "Complice". The nation's first entry did not fare well, placing last in the first semi-final, receiving just five points in total and not qualifying to the final. In June 2008, the Sammarinese Minister of Culture announced that they had good hopes to return to the next year's edition. After initially applying to take part in the Eurovision Song Contest 2009 in Moscow, Russia, SMRTV ultimately opted to not return, citing financial difficulties. San Marino did not return for the Eurovision Song Contest 2010 either, again stating financial reasons as preventing participation. Had they obtained state or private funding for an entry, SMRTV had agreed to send the Italian duo Paola e Chiara to the contest, held in Oslo, Norway that year.

After a two-year absence from the contest, San Marino returned in with Italian singer Senit performing "Stand By", which failed to take the nation to the final. From 2012 to 2014, the nation sent Valentina Monetta to the contest on three consecutive occasions, which made her the first singer to participate in three consecutive contests since Udo Jürgens, who competed in, and  for. Monetta's entries in ("The Social Network Song") and  ("Crisalide (Vola)") respectively failed to qualify San Marino for the final. However, in, Monetta managed to bring the nation to the final for the first time, where she placed 24th with the song "Maybe". San Marino's subsequent three entries: "Chain of Lights" performed by Anita Simoncini and Michele Perniola, "I Didn't Know" by Turkish performer Serhat and "Spirit of the Night" by Jimmie Wilson and Monetta , all failed to qualify to the final. The 2017 entry marked Monetta's fourth appearance at the contest as well as the nation's second last place finish in the semi-final. This was only slightly improved upon in with Jessika and Jenifer Brening's second to last place finish with "Who We Are". In, San Marino sent Serhat for a second time, with the song "Say Na Na Na", finishing in 19th place with 77 points, giving them their best result to this point. The nation planned to take part in the with Senhit and her song "Freaky!", however, due to the COVID-19 pandemic in Europe, the contest was cancelled on 18 March 2020. The EBU announced soon after that entries intended for 2020 would not be eligible for the following year, though each broadcaster would be able to send either their 2020 representative or a new one. Senhit later revealed that she would return to represent San Marino for the Eurovision Song Contest 2021. Her 2021 entry "Adrenalina" featuring Flo Rida managed to qualify the nation to the final the third time in its history, eventually placing 22nd of the 26 finalists with 50 points.

San Marino's two subsequent and most recent entries were unable to qualify for the final. The 2022 entry "Stripper" by Italian singer Achille Lauro finished in 14th place in the semi-final, while their 2023 entry "Like an Animal" by Italian band Piqued Jacks finished last in its semi-final with no points, making it the first entry from San Marino to finish with nul points.

Selection process
Prior to the 2018 contest, SMRTV had selected their Eurovision Song Contest entry internally for all of their appearances in the contest. Their first experience with a national final type process came in where SMRTV opted to organise the online talent show 1in360 to select the entry. After a brief return to an internal selection for, the 2020 contest saw the nation's entry selected through Digital Battle. As part of that process, 2011 entrant Senhit was selected internally, while her song was selected through an online poll. For 2021, SMRTV continued their cooperation with Senhit, returning to an internal selection for the year's contest. The 2022 contest saw SMRTV opting to organise a singing competition entitled Una voce per San Marino to select their entry, returning a public process for a third time. Following the success of the first edition, the Sammarinese Secretary of State for Tourism, Postal Services, Economic Cooperation and the World Expo Federico Pedini Amati announced that the format had been confirmed for 2023. In August 2023, Amati confirmed that a third edition was planned to select the nation's 2024 entry, and the following October, the selection was confirmed until 2025.

Voting
Voting at the Eurovision Song Contest typically consists of 50 percent public televoting and 50 percent jury deliberation. From 2009 to 2015, the jury and public votes were combined and presented as one. San Marino does not organise a televote, however, due to their use of Italy's phone network, and because the small number of potential televoters would not meet the minimum voting threshold set by the EBU. As such, the Sammarinese vote was based solely on their jury during these contests. For the 2016 contest, the EBU introduced a new voting system where the jury and televoting points would be presented separately. If no televote was available, they would instead simulate a composite score using average televoting results from an undisclosed pre-selected group of countries. SMRTV objected to this format, particularly because the EBU would not divulge which countries they would use to create the result and because half of San Marino's points would be determined by others. For the 2017 contest, SMRTV proposed to enable televoting by Sammarinese residents through the use of a statistically representative panel of viewers, similar to the process used at the time in Italy's Sanremo Music Festival. The panel would watch the shows of the contest live and vote during the normal televoting period; their vote would then be used as the country's televote. If any issues arose, the old format could be used as a backup. However, the EBU denied this request in March 2017, and the rules had since remained unchanged in this regard.

At the 2022 contest, San Marino's jury vote was found to have irregular voting patterns during the second semi-final, along with five other nations. Consequently, these countries were given substitute aggregated jury scores for both the second semi-final and the final, calculated from the corresponding jury scores of countries with historically similar voting patterns as determined by the pots for the semi-final allocation draw for that contest. Their televoting scores were unaffected. The Flemish broadcaster VRT later reported that the juries involved had made agreements to vote for each other's entries to secure qualification to the final.

For the 2023 contest, the voting system underwent several changes, including a return of full televoting to determine the qualifiers from the semi-finals. In the event that a country cannot deliver a televoting result in a semi-final, a backup jury result would be used. This change allowed for the Sammarinese vote in the semi-finals to be based solely on its jury, however, the procedure of using calculated scores would still be used in the event that the Sammarinese jury is disqualified.

Heads of delegation
Each participating broadcaster in the Eurovision Song Contest assigns a head of delegation as the EBU's contact person and the leader of their delegation at the event. The delegation, whose size can greatly vary, includes a head of press, the contestants, songwriters, composers and backing vocalists, among others.

Jury members
A five-member jury panel consisting of music industry professionals is made up for every participating country for the semi-finals and final of the Eurovision Song Contest, ranking all entries except for their own country's contribution. The juries' votes constitute 50% of the overall result alongside televoting. The modern incarnation of jury voting was introduced beginning with the.

Commentators and spokespersons
For the show's broadcast on SMRTV, various commentators have provided comment on the contest in the local language. At the Eurovision Song Contest after all points are calculated, the presenters of the show call upon each voting country to invite each respective spokesperson to announce the results of their vote on-screen. In 2014, San Marino RTV also provided an English commentary for their internet streaming, with John Kennedy O'Connor and Jamarie Milkovic. O'Connor reprised this role for both the 2015 and 2016 contests.