Currently, there are significant issues with the intelligent toilets available on the market, such as a large swing of the spray bar when spraying water column and eccentricity. This paper presents four optimization schemes for the intelligent toilet spray bar channel by analysing and redesigning a specific model. Computational Fluid Dynamics (CFD) technology was employed to analyse the water flow conditions inside the spray bar of the intelligent toilet. The calculation results indicate that for the same water inlet flow rate, the optimal structure in optimization scheme 1 is the block with a length (L) of 1.5 mm. In optimization scheme 2, the optimal structure is the block located at position (3). In optimization scheme 3, the optimal structure is a 15° rotation, which exhibits the least swirls and pressure loss while maintaining the prototype structure. When the prototype structure is modified, the optimal structure in optimization scheme 4 is the excision bend pipe. This structure exhibits the lowest swirl number and pressure loss among all the optimization schemes. The determined structure offers valuable insights for enhancing the flow characteristics of the improved product.