Disclosed is a use of albiflorin or a metabolite thereof in preparation of antianxiety and sleep disorder improving drugs or health-care food. Tests prove that albiflorin has significant antianxiety effects and sleep disorder improving effects achieved by prolonging SWS and low the toxic side effects, thus being a safety monomer compound capable of effectively treating anxiety and sleep disorder.