We present results of an infrared study of the molecular cloud Lynds 1340, forming three groups of low-and intermediate-mass stars. Our goals are to identify and characterize the young stellar population of the cloud, study the relationships between the properties of the cloud and the emergent stellar groups, and integrate L1340 into the picture of the star-forming activity of our Galactic environment. We selected candidate young stellar objects (YSOs) from the Spitzer and WISE databases using various published color criteria and classified them based on the slope of the spectral energy distribution (SED). We identified 170 Class II, 27 flat SED, and 45 Class 0/I sources. High angular resolution near-infrared observations of the RNO 7 cluster, embedded in L1340, revealed eight new young stars of near-infrared excess. The surface density distribution of YSOs shows three groups, associated with the three major molecular clumps of L1340, each consisting of 100 members, including both premain-sequence stars and embedded protostars. New Herbig-Haro objects were identified in the Spitzer images. Our results demonstrate that L1340 is a prolific star-forming region of our Galactic environment in which several specific properties of the intermediate-mass mode of star formation can be studied in detail.