"It's a very exciting time to be joining," Mahon told QPR's official website.
"There were four or five other Championship sides that showed an interest, but once I'd spoken to the chairman, Gianni Paladini, there was never any doubt in my mind I'd be joining Rangers.
"The ambition and drive of the board and the new investors really impressed me and I'm delighted to be here."