The bank said in a statement that HSBC servers came under a "large scale denial of service attack" on Thursday.
It said a number of sites were affected around the world but did not give an exact number or say where they were.
"This denial of service attack did not affect any customer data, but did prevent customers using HSBC online services, including Internet banking," the bank said.
"We are taking appropriate action, working hard to restore service," the bank added. It said some of the sites are back up and running.
A denial of service attack typically involves sites being saturated with requests.
The London-headquartered, Asia-focused lender said it is working with authorities to investigate the incident. It gave no indication of who it believed might be behind the attack.
Get your daily dose of tech news, reviews, and insights, in under 80 characters on Gadgets 360 Turbo. Connect with fellow tech lovers on our Forum. Follow us on X, Facebook, WhatsApp, Threads and Google News for instant updates. Catch all the action on our YouTube channel.
Amazon Demands Perplexity Stop AI Tool From Making Purchases