A non-deterministic finite automaton is designed to observe the cholesterol metabolism with the states of acceptance and rejection. The acceptance state of the automaton depicts the normal level of metabolism and production of good cholesterol as an end product. The rejection state of this machine shows the inhibition of enzymatic activity in cholesterol synthesis and removal of free fatty acids. The deficiency in human cholesterol metabolism pathway results in abnormal accumulation of cholesterol in plasma, arterial tissues leading to diseases such as hypercholesterolemia, atherosclerosis respectively and formation of gallstones. The designed machine can be used to monitor the cholesterol metabolism at molecular level through regulation of enzymes involved in the biosynthesis and metabolism of cholesterol for the treatment of diseases incident due to the respective metabolic disorder. In addition, an algorithm for this machine has been developed to compare the programmed string with the given string. This study demonstrates the construction of a machine that is used for the development of molecular targeted therapy for the disorders in cholesterol metabolism. © 2014, Springer Science+Business Media Dordrecht.