Styryl dyes are generally poor fluorescent molecules inherited from their flexible molecular structures. However, their emissive properties can be boosted by restricting their molecular motions. A tight confinement into inorganic molecular sieves is a good strategy to yield highly fluorescent hybrid systems. In this work, two Mg-aluminophosphate zeotypes (AEL framework, a one-dimensional channeled structure with elliptical pores of 6.5 Å x 4.0 Å; and CHA framework, composed by large cavities of 6.7 Å x 10.0 Å connected by 8-ring narrower windows) were selected for the encapsulation of 4-DASPI dye (trans-4-[4-(Dimethylamino)styryl]-1-methylpyridinium iodide). The synthesis and photophysical properties of 4-DASPI styryl dye occluded within these two types of confinements, AEL and CHA, are optimized and analyzed. The resultant hybrid systems display significantly improved photophysical features compared to 4-DASPI in solution. Molecular simulations reveal a tighter confinement of 4-DASPI in the elliptical channels of AEL, whilst a particular orientation is found within the CHA framework, where one 4-DASPI molecule spans along two adjacent cavities. In the latter scenario, each aromatic ring is positioned on these adjacent cavities and the polymethine chain resides within the 8-ring window, being this confinement slightly less tight than for AEL.