A study of single indium phosphide nanowire devices found that zinc doping changed their electrical contact behavior and produced strong light sensitivity and temperature-dependent positive magnetoresistance. The findings offer useful direction for developing nanoscale photoelectric and magnetic-thermal sensors.