The origins of the term "OMG" can be traced back to the early 1990s when it was first used in online chat rooms and instant messaging platforms. It quickly gained popularity and has since become a staple in internet slang.