According to the gospel of John, the disciples received the Holy Spirit when Jesus appeared to them after the resurrection.
But according to Acts, it was at least a few days after that. It says on one occasion (which could have been as many as 40 days after the first time he reappeared to them), he told them they would be baptized with the Holy Spirit in a few days. That was a gift they had not yet received. And Jesus was not present when the tongues of fire later came down on them and filled them with the Holy Spirit.
Continue reading When did the apostles receive the Holy Spirit?