A molecular dynamic study of a mixture of n-hexane and 2,2-dimethyl butane (22DMB) confined to zeolite NaY has been carried out to understand the distinct diffusivity and mutual diffusivity. Results have been compared with the bulk mixture. For each of these mixtures, eight different runs were employed to compute distinct and mutual diffusivity. From the velocity auto- and cross-correlation functions between n-hexane and n-hexane, n-hexane and 22DMB, 22DMB and 22DMB, the self- and distinct diffusivity of the mixture has been computed. The thermodynamic factor and mutual diffusivity have been calculated. The ratio of D11 to Ds is seen to be 1.11 and 0.75 for the confined mixture, while they are 1.21 and 0.79 for the bulk mixture at 200 and 300 K, respectively.