This paper focuses on the electrical design of prefabricated buildings,and performs technology analysis from the corresponding perspectives such as pipeline separation and integrated mechanical and electrical parts,clarifies the key points of technical control,and optimizes the electrical design effect of prefabricated buildings.