The election period for an electing trust is generally within nine months after the decedent's death. However, if the decedent was a nonresident alien at the time of death, the election period may be longer. The election can be made by filing Form 8855, Application for Portability of Estate and Gift Tax Exemption, with the Internal Revenue Service (IRS).