A sensitive and reliable dopamine biosensor was developed based on the Au@carbon dots-chitosan composite film.