Provided are a composition with which a film having excellent heat resistance and light fastness can be provided, the film, a near infrared cut filter, a pattern forming method, a laminate, a solid image pickup element, an image display device, a camera module, and an infrared sensor. The composition includes: a near infrared absorbing compound having an absorption maximum in a wavelength range of 650 to 1000 nm; an organic solvent; and a resin, in which the near infrared absorbing compound is at least one selected from the group consisting of a pyrrolopyrrole compound, a rylene compound, an oxonol compound, a squarylium compound, a croconium compound, a zinc phthalocyanine compound, a cobalt phthalocyanine compound, a vanadium phthalocyanine compound, a copper phthalocyanine compound, a magnesium phthalocyanine compound, a naphthalocyanine compound, a pyrylium compound, an azulenium compound, an indigo compound, and a pyrromethene compound, and a solubility of the near infrared absorbing compound in propylene glycol methyl ether acetate at 25° C. is 0.01 to 30 mg/L.