A photoresist composition including an oxetane-containing compound represented by Formula 1 or 2, an oxirane-containing compound represented by Formula 3 or 4, a photoinitiator, and a solvent, a method of forming a pattern using the photoresist composition, and an inkjet print head including a polymerization product of the photoresist composition.The photoresist composition provides a polymerization product which resists formation of cracks due to an inner stress, and has excellent heat tolerance, excellent chemical resistance, excellent adhesiveness, and excellent durability.