Generally, a landlord must provide reasonable notice, typically 24-48 hours, before entering a tenant’s unit, and the visit must be at a reasonable time. They can usually only enter for specific reasons, such as making repairs or showing the apartment to prospective tenants. The exact rules can vary by state, so you should check local laws for specifics.