Some of the basic withdrawal rules issued by the EPFO are:
If your retirement is due in a year, you can withdraw 90% of the funds from the EPF corpus given that you are at least 54 years old.
If you are unemployed for 1 month, you can withdraw 75% of the corpus funds. The remaining amount can be transferred to your EPF account.
If you are withdrawing before 5 years of continuous employment, then your withdrawal will be subject to tax.