The District of Columbia Code Title 42 Chapter 32 Section 2 allows for a commercial and residential tenant to terminate tenancy by providing the following notice to a landlord:
Commercial Tenancy
(a) A commercial tenancy from month-to-month, or from quarter–to-quarter, may be terminated by a 30-day notice in writing from the housing provider to the tenant to quit, or by such a notice from the tenant to the housing provider of the tenant’s intention to quit. The notice shall expire on the first day of the first month at least 30 days after the date of the notice.
Residential Tenancy
(b) A residential tenancy may be terminated by a 30-day notice in writing only from the tenant to the housing provider of the tenant’s intention to quit. The notice shall expire on the first day of the first month at least 30 days after the date of the notice.
DC Code § 42–3202.
See also DC When a Notice to Quit is Not Required.