There are a few things to consider whether you can keep an inherited HDB flat in Singapore:
1. Whether you are eligible to keep the inherited HDB flat.
For example, foreigners cannot own HDB flats, and thus, the beneficiary entitled to the flat must sell it, whether he/she has a private property or not.
2. If you sell the inherited property, whether there’s stamp duty payable will depend on when the deceased purchased the property.
3. If you are eligible to keep the HDB flat and it was bought before 30 August 2010, you may be able to keep both the private property and the HDB flat.
If you are underaged (haven't reached 21 years old), then there will be complications.
Read more: What Happens To My Stuff When I Die? (Singapore Edition), All About Probate & Administration (Singapore Edition), Immortalize x PropertyGuru Articles