The man in his 40s was charged with being concerned in the supply of class-A drugs after police visited an address in the Knaresborough Road area.
A large quantity of what police believe to be heroin and crack cocaine was seized when police executed the warrant on Wednesday morning.
The man was remanded in custody after he appeared at Harrogate Magistrates’ Court on Thursday (August 31).
A woman in her 30s was also arrested in connection with the operation and released under investigation while enquiries continue.
Harrogate Neighbourhood Policing Inspector Penny Taylor said: “We work closely with the communities we serve to listen to their concerns around drugs and act on them.
“Nobody should tolerate drugs in their community. If anyone thinks they may have information about the distribution or use of drugs in this part of Harrogate, or in any of our other communities, I’d urge them to get in touch with North Yorkshire Police on 101 and select option 1 to report it to us.”