It was in 1868 that the DPWH was born as the Bureau of Public Works and Highways, or Obras Publicas. Alongside the Bureau of Communications and Transportation (Communicaciones y Meteologia), now the Department of Transportation and Communications, the BPWH was organized under a civil engineer known as the “Director General”. It was responsible for all public works projects being done in the islands.
During the Philippine Revolution, public works duties were assumed by a new department known as the Department of War and Public Works (DWPW). Although initially included in the portfolio of the Department of War (now the Department of National Defense), public works projects were so important to the war effort that public works were also prioritized through this department.
During the American period, public works projects were initially put in the hands of the U.S. Army Corps of Engineers. However, this was transferred to a department known as the "Provincial Supervisions" on February 6, 1901. This eventually became the Department of Commerce and Police (DCP) in 1902, with two public works-related agencies, the Bureau of Engineering and Construction for public works projects and the Bureau of Architecture and Construction for the construction of public buildings. Both agencies were eventually merged