Baileyville is an unincorporated community in Ogle County, Illinois, and is located west of Rockford.