Nanowires made of metallic glass have been actively pursued recently due to the superb and unique properties over those of the crystalline materials. The amorphous nanowires are synthesized either at high temperature or via mechanical disruption using focused ion beam. These processes have potential to cause significant changes in structure and chemical concentration, as well as formation of defect or imperfection, but little is known to date about the possibilities and mechanisms. Here, we report chemical segregation to surfaces and its mechanisms in metallic glass nanowires made of binary Cu and Zr elements from molecular dynamics simulation. Strong concentration deviation are found in the nanowires under the conditions similar to these in experiment via focused ion beam processing, hot imprinting, and casting by rapid cooling from liquid state. Our analysis indicates that non-uniform internal stress distribution is a major cause for the chemical segregation, especially at low temperatures. Extension is discussed for this observation to multicomponent metallic glass nanowires as well as the potential applications and side effects of the composition modulation. The finding also points to the possibility of the mechanical-chemical process that may occur in different settings such as fracture, cavitation, and foams where strong internal stress is present in small length scales.