Keep three separate things apart, because South Dakota has only one of them. (a) AN ADU PROVISION THAT NAMES FACTORY-BUILT HOMES: none at the state level, because there is no state ADU provision at all. One city rule does name one: the Sioux Falls joint-jurisdiction section outside the city, SF ordinance 159.305(c)(3), says a detached ADU must be built to the Minnehaha County building code and to the Manufactured Home Construction and Safety Standards (HUD Code) if applicable. (b) BUILDING CODE PREEMPTION: yes, and only for HUD-code manufactured homes. SDCL 34-34A-16 says that if a manufactured home meets the federal standards, neither the state nor any political subdivision may require it to meet any additional building, plumbing, heating or electrical requirements. There is no equivalent protection for a modular home built to the International Residential Code. (c) HUD-CODE ZONING PARITY: NO. The very same section ends with the sentence 'The provisions of this section do not apply to zoning or taxation.' A South Dakota city is therefore free to zone HUD-code homes out of a residential district, and Rapid City does exactly that: the LDR-1 low density residential district permits 'Detached single-family dwellings, but not including manufactured homes,' and Rapid City keeps a separate MHR Mobile Home Residential District. For a modular home the path is local: SDCL 11-10-12 lets a city adopt the 2024 International Residential Code and bars the city from imposing anything more stringent than that code, and the local building official does the inspection. Watertown's zoning ordinance goes further and sets its own modular standards, including a minimum of more than 800 square feet of living quarters.