The 242nd Infantry Division was a division of the Imperial German Army during World War I. The division was formed on January 16, 1917, and was part of the last large wave of new divisions created during World War I. The division was assembled over the next two months from elements from other units. Its core was the 9. Württembergisches Infanterie-Regiment Nr. 127, a regular infantry regiment from the Kingdom of Württemberg, as well as a brigade headquarters from a regular Württemberg infantry division. To this were added two newly raised Württemberg infantry regiments, along with cavalry, artillery, engineers and support units. The division was considered a Württemberg infantry division and received its initial troops and replacements from that kingdom.