Dicranopteris linearis (DL) is a fern in the Gleicheniaceae family, locally known as resam by the Malay community. It has numerous pharmacological benefits, with antiulcer and gastroprotective properties. Peptic ulcer is a chronic and recurring disease that significantly impacts morbidity and mortality, affecting nearly 20 % of the world's population. Despite the effectiveness of peptic ulcer drugs, there is no perfect treatment for the ailment. Encapsulation is an advanced technique that can treat peptic ulcers by incorporating natural sources. This work aims to encapsulate DL extract using different types of cellulose particles by the solvent displacement technique for peptic ulcer medication. The extract was encapsulated using methyl cellulose (MC), ethyl cellulose (EC), and a blend of ethyl methyl cellulose through a dialysis cellulose membrane tube and freeze-dried to yield a suspension of the encapsulated DL extracts. The microencapsulated methyl cellulose chloroform extract (MCCH) has a considerably greater level of total phenolic (84.53 ± 6.44 mg GAE/g), total flavonoid (84.53 ± 0.54 mg GAE/g), and antioxidant activity (86.40 ± 0.63 %). MCCH has the highest percentage of antimicrobial activity against Escherichia coli (2.42 ± 107 × 0.70 CFU/mL), Bacillus subtilis (5.21 ± 107 × 0.90 CFU/mL), and Shigella flexneri (1.25 ± 107 × 0.66 CFU/mL), as well as the highest urease inhibitory activity (50.0 ± 0.21 %). The MCCH particle size was estimated to be 3.347 ± 0.078 μm in diameter. It has been proven that DL elements were successfully encapsulated in the methyl cellulose polymer in the presence of calcium (Ca). Fourier transform infrared (FTIR) analysis indicated significant results, where the peak belonging to the CO stretch of the carbonyl groups of methyl cellulose (MC) shifted from 1638.46 cm-1 in the spectrum of pure MC to 1639.10 cm-1 in the spectrum of the MCCH extract. The shift in the wavenumbers was due to the interactions between the phytochemicals in the chloroform extract and the MC matrix in the microcapsules. Dissolution studies in simulated gastric fluid (SGF) and model fitting of encapsulated chloroform extracts showed that MCCH has the highest EC50 of 6.73 ± 0.27 mg/mL with R2 = 0.971 fitted by the Korsmeyer-Peppas model, indicating diffusion as the mechanism of release.