Thomas B. Hofeller, a political consultant whose mastery of redistricting strategy helped propel the Republican Party from underdog to the dominant force in state legislatures and the House of Representatives, died on Thursday at his home in Raleigh, N.C. He was 75.

The Rev. Greg Jones, the rector of St. Michael’s Episcopal Church in Raleigh, where a service is scheduled for Friday, confirmed the death. The political website The Hill, quoting Dale Oldham, a business partner of Mr. Hofeller’s, said the cause was cancer.

For most of his 48-year career, Mr. Hofeller was little known outside the small band of government clerks, political strategists and data buffs who surfaced, cicada-like, after every decennial census to draw new political maps.

But after Republicans swept many state legislative elections in 2010, giving them control over the political maps that would be drawn after that year’s census, Mr. Hofeller gained an almost mythic reputation as an architect of the party’s comeback.