Racing thoughts refer to rapid and often confused thoughts or ideas that can occur in a state of being overwhelmed, stressed, or mentally exhausted. This can be a result of a range of factors, including sleep deprivation, stress, anxiety, or other mental health issues.