We use first-principles method to investigate the effects of external strain epsilon on the structural, mechanical and electronic properties for the superconductor Nb2InC. The results show that the tensile strain induces an isostructural phase transition in Nb2InC. The elastic constants C-ij, bulk modulus B, shear modulus G, Young's moduli E, and Poisson ratio v(ij) of Nb2InC were also investigated in the range from epsilon=-10% to epsilon=10%. It indicates that Nb2InC is mechanically stable under external strain, and its brittle-ductile transition occurs at epsilon=3.5%. Moreover, Nb2InC gets a negative Poisson ratio at epsilon=4%. The calculated electronic structures indicate that the Nb-C bonding is stronger than Nb-In bonding in Nb2InC. The energy band structures and densities of states of strained Nb2InC were also calculated and discussed in detail. From these calculations, it is clear that the related properties of Nb2InC can be easily tuned by strain. Therefore, our findings are very useful to tailor the physical properties of Nb2InC by using strain engineering. (C) 2014 Elsevier Ltd. All rights reserved.