While there is no definitive record of the absolute first poem Edgar Allan Poe wrote, it is widely believed that his earliest published poem was
"Tamerlane", which appeared in the
October 1827 issue of the
"The Philadelphia Saturday Courier".
However, keep in mind that Poe likely wrote poems earlier in his youth that were not published.