Although their relationship was not particularly close, they admired each other's work and occasionally exchanged letters. Poe was a fan of Hawthorne's novel "The Scarlet Letter," while Hawthorne praised Poe's poetry.
It's worth noting that Poe also knew Henry Wadsworth Longfellow, William Cullen Bryant, and James Russell Lowell, among others.