The Gift of the Magi is a well-known short story by American short story writer O. Henry, the pen name ofWilliam Sydney Porter. The story first appeared in The New York Sunday World on December 10, 1905 and was later published in O. Henry's collection The Four Million on April 10, 1906.