Polystyrene fibers were fabricated by electrospinning. Polystyrene resin was dissolved in chloroform, N,N-dimethylformamide, or their mixtures. In experiments with 10 wt-% solutions of polystyrene in various solvents, a 1:1 solvent mixture was found to be optimal. In the 1:1 solvent, an increase in polystyrene concentration resulted in a decrease in the number of beads on the electrospun fibers and an increase in their diameter. A 20 wt% solution of polystyrene gave fibers with a diameter of about 1.8 $m with almost no beads. Polystyrene fibers containing nanoparticles were prepared by electrospinning 20 wt% polystyrene solutions containing dispersed nanoparticles of TiO2 or ZnO. The concentrations of nanoparticles in the electrospun fibers, determined by energy dispersive X-ray spectroscopic analysis, were less than expected.