This Practice Note introduces how software and AI can be patented in the UK. It looks at the approach taken by the UK Intellectual Property Office (IPO) and European Patent Office (EPO) to patenting inventions involving computer programs. It also discusses the Court of Appeal’s decision in Emotional Perception AI v Comptroller-General of Patents which considered the patentability of AI in the UK.