<Li> On the death of the Yang di - Pertuan Agong (King), for seven days from the day of announcement . All state and territorial flags are also flown at half - mast for seven days, while the national royal standard is flown at half - mast from the day of the announcement until the day of the election and inauguration of the new Yang di - Pertuan Agong; </Li> <Li> On the death of the Raja Permaisuri Agong (Queen), for seven days from the day of announcement . All state and territorial flags are also flown at half - mast for seven days; </Li> <Li> On the death of a state's Ruler or Governor, as well as the spouse of a Ruler or Governor, from the day of announcement until the day of the funeral . The state flag and state royal standard may be flown at half - mast for a longer period as determined by the state government; </Li> <Li> On the death of the Prime Minister or acting Prime Minister, for three days from the day of announcement; or </Li>

When does a flag fly at half staff