A lattice random-walk model is used to simulate diffusion in a porous polymer. This model may be useful for the practical design of drug-release systems. Both interacting and noninteracting particles (random walkers) were allowed to diffuse through a pore with a single exit hole. It was found that the specific interactions among the diffusing particles have little influence on the overall release rate. Diffusion through more complicated structures was investigated by simulating the diffusion of particles through two pores connected by a constricted channel whose length and width were varied. The overall rate of release was found to be proportional to the width of the constricted channel. When the length of the channel was greater than or equal to the length of the pore, the rate of release was also inversely proportional to the channel length. From a practical standpoint, release rates can be decreased (and times for release increased) by one or two orders of magnitude by decreasing the width and expanding the length of the interconnecting channels in the polymer matrix.