This is a list of flags used in Malaysia, both currently and historically.
A common flag for the three federal territories was adopted by the Ministry of the Federal Territories on 20 August 2006. The flag is to be used and flown on matters and ceremonies that involve all the federal territories as a whole. An example is in national sporting events; the unified contingent of the territories would be under this common flag. However, the usage of the individual territorial flags would be given preference in events relating to individual territories.
Per government protocol, if a display contains the Jalur Gemilang and all the state flags of Malaysia:
Some localities have their own flags, whether on the level of district, city, or even traditional localities. Some of them do not represent the locality, but rather the authority that governs the locality such as district councils.
For flags of districts, towns, and cities in Malaysia, look for the article for each state's flag where said location is in. Below is a gallery of the flags of some Malaysian localities.