Background: Guidelines recommend effective on-demand therapy for all individuals with hereditary angioedema. We aimed to assess the novel oral plasma kallikrein inhibitor, sebetralstat, which is in development, for on-demand treatment of hereditary angioedema attacks., Methods: In this two-part phase 2 trial, individuals with type 1 or 2 hereditary angioedema aged 18 years or older were recruited from 25 sites, consisting of specialty outpatient centres, across nine countries in Europe and the USA. Individuals were eligible if they had experienced at least three hereditary angioedema attacks in the past 93 days, were not on prophylactic therapy, and had access to and the ability to self-administer conventional attack treatment. In part 1 of the trial, participants were given a single 600 mg open-label oral dose of sebetralstat to assess safety, pharmacokinetics, and pharmacodynamics of the dose. Part 2 was a randomised, double-blind, placebo-controlled, two-sequence, two-period (2 × 2) crossover trial; participants were randomly assigned (1:1) to either sequence 1, in which they were given a single dose of 600 mg of sebetralstat to treat the first eligible attack and a second dose of placebo to treat the second eligible attack, or sequence 2, in which they were given placebo to treat the first eligible attack and then 600 mg of sebetralstat to treat the second eligible attack. Participants and investigators were masked to treatment assignment. The primary endpoint was time to use of conventional attack treatment within 12 h of study drug administration, which was assessed in all participants who were randomly assigned to treatment and who received study drug for two attacks during part 2 of the study. Safety was assessed in all participants who received at least one dose of study drug, starting in part 1. This study is registered with ClinicalTrials.gov, NCT04208412, and is completed., Findings: Between July 2, 2019, and Dec 8, 2020, 84 individuals were screened and 68 were enrolled in part 1 and received sebetralstat (mean age 38·3 years [SD 13·2], 37 [54%] were female, 31 [46%] were male, 68 [100%] were White). 42 (62%) of 68 participants completed pharmacokinetic assessments. Sebetralstat was rapidly absorbed, with a geometric mean plasma concentration of 501 ng/mL at 15 min. In a subset of participants (n=6), plasma samples obtained from 15 min to 4 h after study drug administration had near-complete protection from ex vivo stimulated generation of plasma kallikrein and cleavage of high-molecular-weight kininogen. In part 2, all 68 participants were randomly assigned to sequence 1 (n=34) or sequence 2 (n=34). 53 (78%) of 68 participants treated two attacks (25 [74%] in the sequence 1 group and 28 [82%] in the sequence 2 group). Time to use of conventional treatment within 12 h of study drug administration was significantly longer with sebetralstat versus placebo (at quartile 1: >12 h [95% CI 9·6 to >12] vs 8·0 h [3·8 to >12]; p=0·0010). There were no serious adverse events or adverse event-related discontinuations., Interpretation: Oral administration of sebetralstat was well tolerated and led to rapid suppression of plasma kallikrein activity, resulting in increased time to use of conventional attack treatment and faster symptom relief versus placebo. Based on these results, a phase 3 trial to evaluate the efficacy and safety of two dose levels of sebetralstat in adolescent and adult participants with hereditary angioedema has been initiated (NCT05259917)., Funding: KalVista Pharmaceuticals., Competing Interests: Declaration of interests EA-P has received grants from or has served as consultant or speaker for BioCryst, Biomarin, Centogene, CSL Behring, KalVista, Pharming, Pharvaris, and Shire/Takeda. AZ has received speaker or consultancy fees from BioCryst, CSL Behring, Pharming, and Takeda. DMC has received speaker fees or consultancy fees from BioCryst, CSL Behring, Ionis Pharmaceuticals, KalVista, Pharming, Pharvaris, and Shire/Takeda. MC has received funding for research projects from or served on advisory boards for CSL Behring, BioCryst, and Shire/Takeda. RH has received consultancy or speaker honoraria from CSL Behring, Shire/Takeda, and has served as a principal investigator for clinical trials sponsored by BioCryst, Pharvaris Netherlands BV, Pharming, CSL Behring, and KalVista. TK has received research grants from Takeda and speaker or consultancy fees from BioCryst, CSL Behring, KalVista and Takeda. MMag has been a speaker or advisor for or has received research funding from BioCryst, CSL Behring, KalVista, Octapharma, Pharming, and Shire/Takeda. IM-S has received speaker or consultancy fees from BioCryst, CSL Behring, Pharming, and Takeda. MS has received speaker and consultant fees from CSL Behring, Takeda, Pharming, and BioCryst. HF has received research grants from CSL Behring, Shire/Takeda, and Pharming and served as an advisor for BioCryst, KalVista, and ONO Pharmaceuticals. SK-A has received speaker or consultancy fees from BioCryst, CSL Behring, Pharming, and Takeda. VG-P has served as principal investigator for CSL Behring, Pharming, BioCryst, and KalVista. JAB has received speaker or consultancy fees from or served as principal investigator for KalVista, Celldex, Pharvaris, Biomarin, Amgen, Allakos, CSL Behring, Shire, Pharming, BioCryst, AstraZeneca, Sanofi-Regeneron, Novartis, and Genentech. HHL has received speaker or consultant fees from BioCryst, CSL Behring, Pharming, and Takeda. HJL has served as consultant, speaker, or engaged in research with or educational projects with BioCryst, CSL Behring, Intellia, KalVista, Pharming, Pharvaris, and Takeda. PKA, MDS, CMY, DKL, and EPF are employees of KalVista Pharmaceuticals. AM was an employee of KalVista Pharmaceuticals at the time of the study. RG has received research grants from Takeda, BioCryst, KalVista, and Pharvaris and consulting and speaker fees from BioCryst, Fresenius Kabi, and Takeda. WRL is a member of advisory boards for BioCryst, CSL Behring, and Takeda; has received research grants from BioCryst, CSL Behring, Ionis, and Takeda; consulting fees from BioCryst, CSL Behring, Fresenius Kabi, Pharming, and Takeda; payments for lectures from CSL Behring, Pharming, and Takeda; and is an advisory board member of the US Hereditary Angioedema Association. AB has received research grants from Takeda and BioCryst and consulting fees from Takeda, BioCryst, Pharming, CSL, Pharvaris, KalVista, and Biomarin. MAR has received research grants from BioCryst, CSL Behring, Ionis, KalVista, Pharvaris; consulted for BioCryst, Biomarin, CSL Behring, Cycle Pharma, Fresenius-Kabi, Ionis, KalVista, Pfizer, Pharming, Pharvaris, RegenexBio, Regeneron, Shire/Takeda, and Spark; and provided speaker presentations for CSL Behring, Grifols, Pharming, and Shire. MMau has been a speaker or advisor for or has received research funding from Alnylam, BioCryst, Centogene, CSL Behring, Dyax, KalVista, Pharming, Pharvaris, and Shire/Takeda., (Copyright © 2023 Elsevier Ltd. All rights reserved.)