The invention discloses an air conditioner with an expert learning function. The air conditioner comprises a man-machine interactive interface module used for receiving user information, environment setting information and using operating information which are input by a user, a user using habit automatic learning module used for automatically learning according to the using operating information of the user to generate a using habit of the user, an expert sleep knowledge base module used for establishing an expert sleep knowledge base according to the user information and the environment setting information which are input by the user and the using habit generated by the user using habit automatic learning module, an inference module used for generating a sleep control parameter according to an operational order input by the user this time and the expert sleep knowledge base, and an executive module used for controlling the air conditioner according to the sleep control parameter generated by the inference module. According to the air conditioner, the using habit of the user can be automatically learned, the operation of the air conditioner is controlled according to the using habit, and the comfort level of the user is improved. The invention also discloses an expert learning method and an expert control method for the air conditioner.