The invention discloses a TRAF4 (Tumor Necrosis Factor Receptor-associated Factor 4) and application of an inhibitor thereof in preparing medicine for treating fatty liver and associated diseases. Bytaking a human normal liver L02 cell line, a TRAF2 knocked-down L02 cell line, primary hepatocyte and TRAF4 knocked-down primary hepatocyte as research objects and stimulating and inducing a liver cell lipid accumulation model by PA (Palmitic Acid) and OA (Oleic Acid), functions of a TRAF4 gene can be researched. The research discovers that when expression of the TRAF4 is reduced, L02 cell lipid accumulation stimulated and induced by the PA and the OA is remarkably reduced, i.e., the TRAF4 gene is capable of promoting occurrence and development of the fatty liver and the associated diseases, so that the TRAF4 provides a target for developing the medicine for preventing, relieving and/or treating the fatty liver and the associated diseases.