A lot of people who are depressed will have trouble sleeping. However, people who have trouble sleeping might sometimes feel depressed. One good way to tell the difference is your desire to do things—people who are just tired will usually want to do things but won't have the energy. People who are depressed often won't have the desire to do those things at all.