The 16-year-old is to attend the Commonwealth Universities and Education Reception.
The reception, being hosted by the Queen and the Duke of Edinburgh, takes place on October 18.
Guests at the event are expected to include academics and teachers. It is being arranged as a celebration of young people in education across the Commonwealth.
Malala, now 16, angered the Taliban in Pakistan with her public, outspoken and courageous pleas for girls to be educated.
She was shot by a gunman who boarded her school bus in the valley of Swat in the north-west of the country a year ago.
The bullet went into her left eye-socket but just missed her brain.
She travelled to Britain for treatment but her injuries were so bad that her father asked relatives to start arranging her funeral.