In the crystal structure of the title compound, C(23)H(21)N(3)O(2)S, all ring atoms of the imidazo[1,2-a]benzothieno[3,2-d]pyrimidine system are essentially coplanar and the phenyl ring is twisted with respect to it [dihedral angle = 72.60 (9)°]. The crystal packing is mainly governed by C-H⋯π hydrogen bonds and inter-molecular π-π inter-actions, with inter-planar distances of 3.54 (1) and 3.56 (1) Å, and with distances between adjacent ring centroids of 3.72 (1) and 3.80 (1) Å. The three terminal C atoms of the butyl group are disordered over two positions; the site occupancy factors are ca 0.6 and 0.4.