A visa application should be submitted no less than two months before departure.
The applicant for a visa to San Marino determines the maximum number of entries.
Your visa application will be reviewed by many agencies, each of which will consult its internal database. We can't stress the importance of this approach enough.
It may take around 30 days to receive a visa to visit San Marino. That would be less than 30 days. You must be in San Marino for at least four weeks for a long-stay visa.
A tourist can stay in San Marino for up to three months and one week every three months and one week. Getting a visa before entering San Marino is necessary, but once inside, you can stay for as long as possible. Getting an additional 90 days is possible, but it's not guaranteed.