goodnight
Synonym discussion
Sense: exclamation/1
'Goodnight' is the standard, neutral farewell used in all settings — formal, informal, spoken, and written. 'Night' is its shortened, informal version, extremely common in text messages and casual conversation among friends and family, but too relaxed for professional or formal contexts. 'Sleep well' carries a warmer, more caring tone and implies genuine concern for the person's rest; it is typically used with close family members, romantic partners, or housemates. 'Sweet dreams' is the most affectionate of the group, often directed at children or romantic partners, and sounds out of place in workplace or casual acquaintance settings.
Etymology
A contraction of the phrase 'good night', used as a farewell wish for a good night's sleep. 'Good' comes from Old English 'gōd' and 'night' from Old English 'niht'. The expression has been used as a bedtime farewell since at least the 14th century in Middle English.