Firm or extra-firm tofu is best for stir-fry. It holds its shape well and absorbs flavors better without falling apart during cooking.