This study involved the obtaining of a new tablet formulation of Tamarindus indica L., using a D-optimal mixture design. Tablets were obtained by wet granulation. Compressibility, angle of repose, flowability, particle size and humidity were the responses for the granules evaluation, while hardness, disintegration time and friability were responses for the tablets. The desirability function was applied for tablets optimization. All responses were adjusted to statistical models. Polyvinylpyrrolidone is the excipient that more affects all responses. The D-optimal design allowed selecting the optimal proportions of the excipients: lactose monohydrate 36.54%, microcrystalline cellulose 30.00% and polyvinylpyrrolidone 6.93%.