The letting of private dwellings in Denmark is regulated by the Danish Rent Act. The primary purpose of the Act is to protect the rights of tenants. The Rent Act contains rules regarding the direct contractual relationship between the landlord and the tenant and applies to both renting and subletting. The Act contains both rules that cannot be derogated from to the detriment of the tenant by agreement between the parties – as well as rules that can be derogated from by agreement.  The Rent Act states directly whether a rule cannot be derogated by agreement.
Before 1 July 2022, the rental of private homes in Denmark was also regulated by the Housing Regulation Act (Boligreguleringsloven). However, the Housing Regulation Act was repealed when a new Rent Act came into force. Today, most of the rules from the Housing Regulation Act have been moved to the Rent Act. The rules that do not concern agreements between landlords and tenants have been moved to the Housing Act (Lov om boligforhold).
For tenancies where the landlord is a social housing organisation, the Danish Act on the Rental of Social Housing (Lov om leje af almene boliger) applies. The lease agreement will typically state whether the tenancy is covered by this law.
For some youth housing, rules on study activity etc. may apply in addition to the provisions of the Rent Act.