Diesel is a very complex system. Subsystems and components of diesel will be failure, between failure symptoms and causes have many uncertain factors. In view of this situation, fault diagnosis method based on PSO algorithm is presented. The effectiveness of this method is proved with an example of diesel system.