Functional analysis of the essential proteins encoded by human cytomegalovirus (HCMV) is hindered by the lack of complementing systems. To overcome this difficulty, we have established a novel approach, termed the intein-mediated modulation of protein stability (imPS), in which a destabilizing domain and part of a split intein are fused to the essential protein. The growth of the mutant virus can then be regulated by the degradation and splicing of the protein. We found that an ultrafast gp41-1 split intein was able to rescue or degrade the protein of interest (POI) by removing or adding a strong degron through protein splicing. As a result, the function of the POI was turned on or off during the process. Using HCMV essential gene IE1/IE2, we confirmed that imPS worked remarkably well in conditionally regulating protein stability during viral infection. This conditional approach is likely to be applicable for dissecting the gene functions of HCMV or other viruses.