Borrowers can list a room or their whole property on online platforms to be let out for a maximum of 90 days a year but for no longer than 30 days to the same person.
To do so, they can only use short term letting platforms approved by the lender.
Mortgage holders must comply with criteria set out by Barclays, including adhering to planning law, making sure there is valid buildings insurance and following local regulations on short-term lets.
Borrowers under the Help to Buy or shared ownership schemes also need to gain permission from the provider and may require consent from second charge lenders.
Patrick Robinson, director of public policy at Airbnb, said he was “delighted” to see Barclays help mainstream hosting on its platform.
He added: “Innovations like this create new economic opportunities for families and support the modern way they live, work and travel.
“The new mortgage policy will help more people share their homes and follow their mortgage terms, which is good news for everyone.”