No. Unlike contributions to the Employee Provident Fund, the NPS contribution is completely voluntary. It is up to the employee whether he wants to invest in NPS or not. Even a self-employed person can open an NPS account and make voluntary investments in the account.