For many people, Good night and goodnight are one of the most challenging phrases in the English language. If you want to say farewell to someone or wish them sweet dreams, you should use the two-word variant"good night". When it is used as a modifier or adjective only one word should be used "goodnight". This rule also applies to "good morning", "good evening", and "good afternoon".