The present invention provides a system and method for diagnosis and treatment of hair and scalp. The system comprises an electronic user interface, a plurality of data blocks configured to collect hair and scalp related data from a plurality of IOT devices, a processor coupled to an AI engine configured to process the data for identifying a problem and recommending a treatment, and a controller encoded with instructions to process a plurality of data models wherein the AI engine determines identifiers in the data based on at least one of the plurality of data models for analyzing condition of hair and scalp to recommend the treatment to a user on the interface.