RiceisanimportantfoodcropinChina,andthedevelopmentofhybridriceisacrucialwaytoincreasegrainyield.Thecreationofdual-purposenuclear-sterilelinesfortwo-linehybridbreedinghasbecomevitalforcommercialricebreeding.WeconstructedthepC1300-2x35S::Cas9-sgRNAPTGMS2-1expressionvectorforeditingthemalefertilitygenePTGMS2-1intwowidelycompatiblericevarieties,93-11andHuazhan,byusingtheCRISPR/Cas9system.Weobtainedthemarker-freephotoperiod-/thermo-sensitivegenicmale-sterile(P/TGMS)linesinT1generation.Accordingtotheexperimentsinphytotronwithfourtemperatureandphotoperiodtreatments,wefoundthetemperatureisthemainfactorforrestoringthepollenfertilityofptgms2-1mutantsin93-11andHuazhan,andthephotoperiodalsohassomeeffectsonpollenfertilityintwodifferentricebackgrounds.Theapplicationofcultivatingnewmale-sterilelinesbygenomeeditingsystemwillsignificantlyacceleratethericebreedingprocess.