At age 45, Lin-Manuel Miranda already has accomplished enough to receive a lifetime achievement honor.

The celebrated “Hamilton” playwright is among 21 new inductees into the American Academy of Arts and Letters, the 127-year-old honor society where current members include Robert Caro, Jasper Johns and Meredith Monk. All are to be formally welcomed during a May ceremony at the academy’s beaux arts complex in Upper Manhattan, not far from the setting of Miranda’s musical, “In the Heights.”

“I am deeply grateful and humbled to be joining this distinguished community, which included Stephen Sondheim, Richard Rodgers, Oscar Hammerstein and so many other titans of the arts who continue to inspire me,” Miranda said in a statement. “I am excited to visit the Academy in my neighborhood of Washington Heights as a new member to support and celebrate great artists and their work.”

May’s event will include a keynote, the Blashfield Address, from the novelist-playwright Caryl Phillips.

The academy is divided into categories for literature, music, art and architecture.

It has a core membership of 300, with new members elected to replace vacancies created after one has died, along with foreign and American honorary members such as Meryl Streep and Martin Scorsese and Nobel laureates J.M. Coetzee and Bob Dylan.

This year’s new honorary inductees are the Mexican conceptual artist Francis Alÿs, the Bangladeshi architect Marina Tabassum and the activist and author Angela Davis.

Besides Miranda, the academy’s class of 2025 includes prize-winning authors Jesmyn Ward, Gish Jen and Elizabeth Alexander, architect Ricardo Scofidio, visual artist Robert Grosvenor and sculptor Donna Dennis. Inductee Claire Messud, author of such acclaimed novels as “The Emperor’s Children” and “The Woman Upstairs,” has now joined an organization which in 2003 presented her with its prestigious Strauss Living Award for literary excellence.