50.3 percent of voters said "Yes" for the EU membership, and 49.7 percent of voters said "No" to EU.
Only 20 percent of Sanmarinese society has attended the referendum.
Although "Yes" votes got the majority with 50.3 percent, voter turnout was below the judiciary average, which was 32 percent.
According to the result of the referendum, Sanmarinese government may not apply for EU membership.
San Marino, whose population is 32 thousand, has a special arrangement with the Council of Europe, and uses the Euro as its currency.
San Marino has been a member of the Customs Union of the EU since 1991.