The chocolate chip cookie was invented by Ruth Wakefield in the 1930s. She was the owner of the Toll House Inn, a popular restaurant in Massachusetts. The cookies became so popular that she began selling them in her restaurant and soon became known as "Toll House Cookies."