Three types of insomnia
Sleep onset insomnia describes difficulty falling asleep at the beginning of the night, or in the case of shift workers, whenever they attempt to initiate sleep.
Sleep maintenance insomnia describes an inability to stay asleep through the night.
Terminal insomnia, also called late insomnia occurs when the sleeper wakes up too early and is not able to fall asleep again.
Duration: Short-Term Insomnia is a brief episode of difficulty sleeping, while Chronic Insomnia is a long-term pattern of difficulty sleeping.
Source: https://www.sleepfoundation.org/insomnia/types-of-insomnia
Thank you Joseph!