The main objective of this study is to investigate the influences of mechanical strain on optical properties of ZnO nanowire (NW) before and after embedding ZnS nanowire into the ZnO nanowire, respectively. For this work, commercial finite element modeling (FEM) software package ABAQUS and three-dimensional (3D) finite-difference time-domain (FDTD) methods were utilized to analyze the nonlinear mechanical behavior and optical properties of the sample, respectively. Likewise, in this structure a single focused Gaussian beam with wavelength of 633 nm was used as source. The dimensions of ZnO nanowire were defined to be 12280 nm in length and 103.2 nm in diameter with hexagonal cross-section. In order to investigate mechanical properties, three-point bending technique was adopted so that both ends of the model were clamped with mid-span under loading condition and then the physical deformation model was imported into FDTD solutions to study optical properties of ZnO nanowire under mechanical strain. Moreover, it was found that increase in the strain due to the external load induced changes in reflectance, transmittance and absorptance, respectively.