"Home sweet home" is an English idiom that implies that a one's home is preferable to all other places. It is often uttered by those people who are returning to their home after a long time away. The implication is that, even if there are other destinations that are worthwhile, they could not possible match up with the pleasures that a person's home has to offer. A 19th century American song called "Home Sweet Home" was the basis for this phrase, which has been used in practically every aspect of popular culture since that time.
It can be limiting to communicate using only the literal meanings of language. By contrast, many people use short phrases that have come to mean something far different than what their literal interpretations might imply. These phrases are called idioms, and they take their meanings not from the definitions of their words but rather from the way they are used and understood in a specific culture. One idiom that has been extremely popular since its first usage in the 19th century is the phrase "home sweet home."
When this phrase is uttered, it is often in praise of someone's domicile as the ultimate destination after long travels elsewhere. It could be in reference to a person's actual physical home or place of residence. Sometimes it may refer more broadly to a person's town or country. As an example, consider the sentence, "I've been overseas for over a month, but now it feels really good to be home sweet home."
This idiomatic expression gets its power from the fact that the home is often considered the center of stability and comfort in a person's life. All other places may hold some measure of uncertainty, but the home, ideally, is a place where someone does not have to worry about such outside pressures. It taps into the notion of the home as a sanctuary from problems. For example, someone might say, "I can't say that I ever feel quite as good as when I make it home sweet home after a long day of work."
The phrase first originated in America in 1823 as the title of an extremely popular song from a play. Since then, it has become a reliable part of the lexicon, especially in terms of its applications in popular culture as a part of songs and movies. It is even a popular phrase for adorning welcome mats outside of homes.