HIV-1 integrase (IN) inhibitors are one of the most recent innovations in the treatment of HIV infection. The selection of drug resistance viral strains is however a still open issue requiring constant efforts to identify new anti-HIV-1 drugs. Pyrrolyl diketo acid (DKA) derivatives inhibit HIV-1 replication by interacting with the Mg2+ cofactors within the HIV-1 IN active site or within the HIV-1 reverse-transcriptase associated ribonuclease H (RNase H) active site. While the interaction mode of pyrrolyl DKAs with the RNase H active site has been recently reported and substantiated by mutagenesis experiments, their interaction within the IN active site still lacks a detailed understanding. In this study, we investigated the binding mode of four pyrrolyl DKAs to the HIV-1 IN active site by molecular modeling coupled with site-directed mutagenesis studies showing that the DKA pyrrolyl scaffold primarily interacts with the IN amino residues P145, Q146 and Q148. Importantly, the tested DKAs demonstrated good effectiveness against HIV-1 Raltegravir resistant Y143A and N155H INs, thus showing an interaction pattern with relevant differences if compared with the first generation IN inhibitors. These data provide precious insights for the design of new HIV inhibitors active on clinically selected Raltegravir resistant variants. Furthermore, this study provides new structural information to modulate IN and RNase H inhibitory activities for development of dual-acting anti-HIV agents.