The invention relates to the technical field of medicines, and relates to application of etravirine in preparation of medicines for resisting tick-borne encephalitis virus (TBEV), west nile virus (WNV), yellow fever virus (YFV) and chikungunya fever virus (CHIKV) infection. The medicine for resisting TBEV, WNV, YFV and CHIKV infection is a medicine for preventing or treating TBEV, WNV, YFV and CHIKV infection by taking etravirine as a unique active ingredient, or a medicine composition containing etravirine and a medicine for preventing or treating TBEV, WNV, YFV and CHIKV infection. By utilizing an experimental operation system of TBEV susceptible cells, small molecule drugs capable of inhibiting infection are screened from a clinical drug small molecule library, and the screened etravirine can effectively inhibit the TBEV from infecting human hepatoma cells Huh7, is relatively low in cytotoxicity, has an inhibiting effect on WNV, YFV and CHIKV, can be used as a potential drug for resisting TBEV, WNV, YFV and CHIKV, and has an application prospect.