To sell your HDB flat, you must meet the 5-year Minimum Occupation Period (MOP), though it could be 10 years for Prime Location Public Housing (PLH) flats.