Heroin use is associated with lower levels of restriction factors and type I interferon expression and facilitates HIV-1 replication.