Riley Township is located in McHenry County, Illinois. As of the 2020 census, its population was 3,035 and it contained 1,070 housing units. It contains the census-designated place of Riley.
According to the 2010 census, the township has a total area of , of which (or 99.81%) is land and (or 0.22%) is water.