The title compound, C(29)H(17)FN(4)O(2), may be used as a new precursor for obtaining bioactive mol-ecules. There are two crystallographically independent mol-ecules in the asymmetric unit. The phenyl ring, 4-fluoro-phenyl ring and 2-naphth-yloxy ring are twisted with respect to the pyrrolopyrimidine ring by 52.30 (11)/49.05 (11), 80.94 (10)/88.36 (10) and 60.58 (7)/83.76 (7)°, respectively. The crystal packing is stabilized by weak C-H⋯N hydrogen bonds.