Combining machine learning with functional magnetic resonance imaging (fMRI) technology to build an effective autism recognition model has become a research hotspot. However, the performance of existing machine learning models is highly dependent on large-scale labelled data, and the cost of fMRI data acquisition and labelling limits the application of models in autism recognition. Although the availability of multisite data increases the sample size, the resolution, image contrast, and noise level of fMRI data acquired at different sites vary considerably due to the different scanning devices or scanning protocols used. The heterogeneity of fMRI data between sites leads to limited generalisation of the trained models. To tackle this problem, we propose a deep domain adaptation approach based on three-way decisions. First, we introduce a pseudolabel optimisation method based on three-way decisions, which fully considers the structural information of the target domain and makes secondary decisions on the uncertain objects in the target domain, thus improving the accuracy of the pseudolabel in the target domain. Then, we construct a new autism recognition network using a stacked autoencoder and combine the proposed pseudolabel optimisation model to adapt the domain shift. Finally, the self-training strategy is used to retrain the network after domain adaptation to improve the generalisability of the model to the target domain. Experimental results on several cross-domain autism recognition tasks show the effectiveness of the proposed method.